var setting = {
		target 	: "", 			//class name
		kind 	: "list",		//list/map
		size 	: "large", 		//large/normal/mini
		rowstyle: "left", 		//left/right/top/bottom
		btnstyle: "alway",		//alway/enter
		detail  : "text",   	//text/picture
		column  : "default", 	//default,auto,number
		action 	: "add",		//add/del
		sequence: "front", 		//front/last
};


dfactory = function (setting){
	if(!setting){alert("factory can not init!");return;}
	//根据kind生成列表/图文
	
	//根据size生成列表大小
	
	//根据rowstle生成排列模板
	
	//根据btnstyle生成功能菜单
	
	//根据detail生成文字,图文模板
	
	//根据column生成排列的列数
	
	//根据action增加或删除元素
	
	//根据sequence生成置前,置后
}
